package com.demo.studentmanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author lzx
 */
@Data
@Accessors(chain = true)
@ApiModel
public class Attendance {

    @TableId(type=IdType.AUTO)
    @ApiModelProperty
    private String id;

    @ApiModelProperty(value = "学生编号")
    private String sno;

    @ApiModelProperty(value = "课程编号")
    private String cno;

    @ApiModelProperty(value = "签到状态")
    private String status;

    @ApiModelProperty(value = "签到时间")
    private Date time;


}
